<?php 
$data['page_selected'] = 'management';
$this->load->view('constants/header', $data);?>

<div id="site_content">
	<?php $this->load->view('constants/sidebar'); ?> 
    <div id="content">
        <!-- insert the page content here -->
        <?php $this->load->view('management/menu'); ?>
        <br /><br /><br /><br />
  		<h3 align="center">Tipos de actividad</h3>
        <a href="<?php echo base_url(); ?>management/new_type_of_activity" title="Agregar tipo de actividad">
        	<img src="<?php echo base_url().IMG; ?>add.png" width="100" height="100"/>
        </a>
        <h1>Nuevo tipo de actividad</h1>
        <h2 style="font-size:10px"><img src="<?php echo base_url().IMG; ?>icon_RequiredField.png">&nbsp; Campos Obligatorios</h2>
        <?php echo form_open(base_url().'management/new_type_of_activity'); ?>
        <table width="100%" align="center">
            <tr>
            	<td> <img src="<?php echo base_url().IMG; ?>icon_RequiredField.png">&nbsp;C&oacute;digo </td>
                <td><input type="text" name="activityTypeCode" id="activityTypeCode" value="<?php echo set_value('activityTypeCode'); ?>"></td>
                <td> <?php echo form_error('activityTypeCode'); ?> </td>
            </tr>
            <tr>
            	<td> <img src="<?php echo base_url().IMG; ?>icon_RequiredField.png">&nbsp;Descripci&oacute;n </td>
                <td><input type="text" name="description" id="description" value="<?php echo set_value('description'); ?>"></td>
                <td> <?php echo form_error('description'); ?> </td>
            </tr>
            <tr>
                <td colspan="3" align="right">
                    <input type="submit" name="button" class="submit" value="Procesar" />
                </td>
            </tr> 
		</table>
    </div>
</div>
<?php $this->load->view('constants/footer'); ?>